package com.example.ziru.service;

import com.example.ziru.entity.Rooms;
import com.example.ziru.utils.Result;

import java.util.List;

public interface RoomsService {

    List<Rooms> getAllRooms();

    Result queryRooms(String column, Integer pageIndex, Integer pageSize);

    Result queryRoomsByPriceAsc(String column, Integer pageIndex, Integer pageSize);

    Result queryRoomsByAreaAsc(String column, Integer pageIndex, Integer pageSize);

    Object queryRoomsById(Integer id);

    Object select(String column,Integer pageIndex,Integer pageSize,String str);

    Object queryRoomsByRand();

    Object queryTitleByRoomId(Integer id);
}
